import gradio as gr


def greet(name, age):
    return f'Hello {name} {age}!'


demo = gr.Interface(
    fn=greet,
    inputs=['text', 'number'],
    outputs=['text'],
)

if __name__ == '__main__':
    demo.launch()

